// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-01A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Kacey Musgraves, Father John Misty & Nickel Creek','Bryce Jordan Center','University Park, PA','Wednesday','9/4/2024','7:30 PM','6297339','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-4-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','TD Garden','Boston, MA','Friday','9/6/2024','7:30 PM','6297341','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-6-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','TD Garden','Boston, MA','Saturday','9/7/2024','7:30 PM','6297342','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-7-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','Prudential Center','Newark, NJ','Monday','9/9/2024','7:30 PM','6297343','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-9-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','Van Andel Arena','Grand Rapids, MI','Wednesday','9/11/2024','7:30 PM','6297345','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-11-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','Allstate Arena','Rosemont, IL','Thursday','9/12/2024','7:30 PM','6297346','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-12-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','Fiddlers Green Amphitheatre','Englewood, CO','Sunday','9/15/2024','8:00 PM','6297348','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-15-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','Rogers Arena','Vancouver, Canada','Thursday','9/19/2024','7:30 PM','6297353','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-19-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','Climate Pledge Arena','Seattle, WA','Friday','9/20/2024','7:30 PM','6297357','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-20-2024'],['Kacey Musgraves, Father John Misty & Nickel Creek','Golden 1 Center','Sacramento, CA','Monday','9/23/2024','7:30 PM','6297358','Kacey-Musgraves--Father-John-Misty---Nickel-Creek-9-23-2024']],'"kacey musgraves"','https://www.ticketnetwork.com');